/* * Created on Dec 12, 2004 * * TODO To change the template for this generated file go to * Window - Preferences - Java - Code Style - Code Templates */ /** * @author Shahein * * TODO To change the template for this generated type comment go to * Window - Preferences - Java - Code Style - Code Templates */ public class Mystery { public static void strangeMethod(int x, int y) { x += y; y *= x; System.out.println(x + " " + y); } public static void main(String[] args) { int a = 6, b = 3; strangeMethod(a, b); System.out.println(a + " " + b); } }